#ifndef _V_LAUNCH_WIDGET_H_
#define _V_LAUNCH_WIDGET_H_
#include <QWidget>
class VRegistWidget;
class VReviseWidget;
class VLoginWidget;
class VCloseButton;
class QLabel;
class VLaunchWidget  : public QWidget
{
	Q_OBJECT

public:
	VLaunchWidget(QWidget* parent = nullptr);
	~VLaunchWidget();

private slots:
	void onVSwitchInterfaceButtonReleased();
private:
	void paintEvent(QPaintEvent* event);
	void initConnect();
	bool eventFilter(QObject* obj, QEvent* event);
	void setMainWidget(QWidget*pWidget);
	void initLabelTitle();

	QWidget* m_pMainWidget;
	VLoginWidget* m_pLoginWidget;
	VRegistWidget* m_pRegistWidget;
	VReviseWidget* m_pReviseWidget;

	VCloseButton* m_pButtonClose;
	QLabel* m_pLabelTitle;
};

#endif